﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BolaoDNA.DomainModel.Bolao>" %>

<asp:Content ID="Title" ContentPlaceHolderID="TitleContent" runat="server">
	Ranking
</asp:Content>

<asp:Content ID="Main" ContentPlaceHolderID="MainContent" runat="server">
<div id="main"> 
    <div class="block" id="block-tables">
        <div class="content">
            <h2 class="title">Ranking</h2>
            <div class="inner">
                <form action="#" class="form">
                <table class="table">
                <tr>
                <th>Participante</th>
                <th>Pontos</th>

                </tr>
                <% foreach (var item in Model.InscricoesBolao.Take(25))
                { %>


                <tr>
                <td>
                <%= Html.Encode(item.UsuarioCadastrado.Nome)%>
                </td>
                <td>
                <%= Html.Encode(item.PontuacaoTotal)%>
                </td>
                </tr>

                <% } %>

                </table>
                <div class="actions-bar wat-cf">
                <div class="actions">
                </div>
                <div class="pagination">
                <span class="disabled prev_page">« Previous</span><span class="current">1</span><a rel="next" href="#">2</a><a href="#">3</a><a href="#">4</a><a href="#">5</a><a href="#">6</a><a href="#">7</a><a href="#">8</a><a href="#">9</a><a href="#">10</a><a href="#">11</a><a rel="next" class="next_page" href="#">Next »</a
                </div>
                </div>
                </form>
            </div>
        </div>
        
    </div>
    <div class=block>
        <div class=content>
        <p>
            <%= Html.ActionLink("Voltar ao Bolão", "Details", new{id = Model.ID })%>
        </p>
        </div>
        </div>
    <div id="footer">
        <div class="block">
            <p>Copyright &copy; 2010 Your Site.</p>
        </div>
    </div>
</div>
</asp:Content>

